/**
 * www.lifexx.com Inc.
 * Copyright (c) 2014 All Rights Reserved.
 */
package net.mikoo.seals.agent.model;

import net.mikoo.seals.agent.common.BaseModel;

/**
 *                       
 * @Filename RolePermit.java
 *
 * @Description 
 *
 * @Version 1.0
 *
 * @Author chenzx
 *
 * @Email chenzx1206@163.com
 *       
 * @History
 *<li>Author: chenzx</li>
 *<li>Date: 2015年1月27日</li>
 *<li>Version: 1.0</li>
 *<li>Content: create</li>
 *
 */
public class RolePermit extends BaseModel {
	
	/** Comment for <code>serialVersionUID</code> */
	private static final long	serialVersionUID	= 3292380063267203041L;
	
	private Long				roleId;
	private Long				menuId;
	private String				isEnabled;
	
	private Role role;
	private Menu menu;
	
	/**
	 * @return Returns the roleId
	 */
	public Long getRoleId() {
		return roleId;
	}
	
	/**
	 * @param roleId
	 * The roleId to set.
	 */
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}
	
	/**
	 * @return Returns the menuId
	 */
	public Long getMenuId() {
		return menuId;
	}
	
	/**
	 * @param menuId
	 * The menuId to set.
	 */
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}
	
	

	public String getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(String isEnabled) {
		this.isEnabled = isEnabled;
	}

	/**
	 * @return Returns the role
	 */
	public Role getRole() {
		return role;
	}

	/**
	 * @param role
	 * The role to set.
	 */
	public void setRole(Role role) {
		this.role = role;
	}

	/**
	 * @return Returns the menu
	 */
	public Menu getMenu() {
		return menu;
	}

	/**
	 * @param menu
	 * The menu to set.
	 */
	public void setMenu(Menu menu) {
		this.menu = menu;
	}
	
}
